<?php

/**
* @copyright   (C) 2010 iJoomla, Inc. - All rights reserved.
* @license  GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) 
* @author  iJoomla.com webmaster@ijoomla.com
* @url   http://www.ijoomla.com/licensing/
* the PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript  
* are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 
* More info at http://www.ijoomla.com/licensing/
*/

	defined('_JEXEC') or die('Restricted Access');	
	
	$css_survey_name = $this->params->survey_name;
	$css_survey_description = $this->params->survey_description;
	$css_page_name = $this->params->page_name;
	$css_page_description = $this->params->page_description;
	$css_question = $this->params->question;
	$css_question_description = $this->params->question_description;
	$css_answer = $this->params->answer;
	$css_checkbox = $this->params->checkbox;
	$css_radiobutton = $this->params->radiobutton;
	$css_dropdownmenu = $this->params->dropdownmenu;
	$css_textarea = $this->params->textarea;
	$css_button = $this->params->button;
	$css_row_heading = $this->params->row_heading;
	$css_column_heading = $this->params->column_heading;
	$css_table_row1 = $this->params->table_row1;
	$css_table_row2 = $this->params->table_row2;
	$css_result_heading = $this->params->result_heading;
	$css_total_background = $this->params->total_background;
	$css_popup_title = $this->params->popup_title;
	$css_popup_content = $this->params->popup_content;
	$css_popup_button_row = $this->params->popup_button_row;
	
	$css_file = $this->css;
?>

<table width="100%" class="adminform">
	<tr>
		<th colspan="2"> <?php echo JText::_("COM_SURVEYS_MANAGE_CSS_CLASSES"); ?></th>
	</tr>
	<tr>
		<td width="50%" valign="top">
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_GENERAL"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td width="35%"> <b><?php echo JText::_("COM_SURVEYS_SURVEY_NAME"); ?></b></td>
					<td width="65%"> <input type="text" name="css[survey_name]" value="<?php echo $css_survey_name; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_SURVEY_DESCRIPTION"); ?></b></td>
					<td><input type="text" name="css[survey_description]" value="<?php echo $css_survey_description; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_PAGE_NAME"); ?></b></td>
					<td><input type="text" name="css[page_name]" value="<?php echo $css_page_name; ?>" /></td>
				</tr>
					<td><b><?php echo JText::_("COM_SURVEYS_PAGE_DESCRIPTION"); ?></b></td>
					<td><input type="text" name="css[page_description]" value="<?php echo $css_page_description; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_PAGE_QUESTION"); ?></b></td>
					<td><input type="text" name="css[question]" value="<?php echo $css_question; ?>" /></td>
				</tr>
					<td><b><?php echo JText::_("COM_SURVEYS_QUESTION_DESCRIPTION"); ?></b></td>
					<td><input type="text" name="css[question_description]" value="<?php echo $css_question_description; ?>" /></td>
				</tr>				
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_ANSWER"); ?></b></td>
					<td><input type="text" name="css[answer]" value="<?php echo $css_answer; ?>" /></td>
				</tr>
			</table>
			
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_FORM_ELEMENTS"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td width="35%"><b> <?php echo JText::_("COM_SURVEYS_CHECKBOX"); ?></b></td>
					<td width="65%"><input type="text" name="css[checkbox]" value="<?php echo $css_checkbox; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_RADIOBUTTON"); ?></b></td>
					<td><input type="text" name="css[radiobutton]" value="<?php echo $css_radiobutton; ?>" /></td>
				</tr>
				<tr>
					<td><b> <?php echo JText::_("COM_SURVEYS_DROPDOWNMENU"); ?></b></td>
					<td><input type="text" name="css[dropdownmenu]" value="<?php echo $css_dropdownmenu; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_TEXTAREA"); ?></b></td>
					<td><input type="text" name="css[textarea]" value="<?php echo $css_textarea; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_BUTTON"); ?></b></td>
					<td><input type="text" name="css[button]" value="<?php echo $css_button; ?>" /></td>
				</tr>
			</table>
			
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_TABLE"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td width="35%"> <b><?php echo JText::_("COM_SURVEYS_ROW_HEADING"); ?></b></td>
					<td width="65%"> <input type="text" name="css[row_heading]" value="<?php echo $css_row_heading; ?>" /></td>
				</tr>
				<tr>
					<td><b> <?php echo JText::_("COM_SURVEYS_COLUMN_HEADING"); ?></b></td>
					<td><input type="text" name="css[column_heading]" value="<?php echo $css_column_heading; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_TABLE_ROW"); ?>1</b></td>
					<td><input type="text" name="css[table_row1]" value="<?php echo $css_table_row1; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_TABLE_ROW"); ?>2</b></td>
					<td><input type="text" name="css[table_row2]" value="<?php echo $css_table_row2; ?>" /></td>
				</tr>
			</table>
			
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_RESULTS"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td width="35%"><b> <?php echo JText::_("COM_SURVEYS_RESULT_HEADING"); ?></b></td>
					<td width="65%"> <input type="text" name="css[result_heading]" value="<?php echo $css_result_heading; ?>" /></td>
				</tr>
				<tr>
					<td><b> <?php echo JText::_("COM_SURVEYS_TOTAL_BACKGROUND"); ?></b></td>
					<td><input type="text" name="css[total_background]" value="<?php echo $css_total_background; ?>" /></td>
				</tr>
			</table>
			
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_POPUP"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td width="35%"><b> <?php echo JText::_("COM_SURVEYS_POPUP_TITLE"); ?></b></td>
					<td width="65%"><input type="text" name="css[popup_title]" value="<?php echo $css_popup_title; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_POPUP_CONTENT"); ?></b></td>
					<td><input type="text" name="css[popup_content]" value="<?php echo $css_popup_content ; ?>" /></td>
				</tr>
				<tr>
					<td><b><?php echo JText::_("COM_SURVEYS_POPUP_BUTTON_ROW"); ?></b></td>
					<td><input type="text" name="css[popup_button_row]" value="<?php echo $css_popup_button_row ; ?>" /></td>
				</tr>
			</table>
		
		</td>
		<td width="50%" valign="top">
			<span  style="color:#669900;font-size:14px;font-weight:bold;"><?php echo JText::_("COM_SURVEYS_CSS_FILE"); ?></span>
			<table width="100" class="adminform">
				<tr>
					<td> 
						<textarea cols="70" rows="47" name="css_file"><?php echo $css_file; ?></textarea>
					</td>
				</tr>
			</table>
		</td>
		</tr>
		</table>